.category-details {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  // overflow: hidden;
  padding-top: 15px;
  // position: relative;

  .cate-bg {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(255, 45, 45, 0.18) 0%,
        rgba(255, 45, 45, 0.12) 42.86%,
        rgba(255, 45, 45, 0) 100%);
  }


  .close_img {
    width: 32px;
    height: 32px;
    margin-left: 8px;
  }

  :deep(.nut-tabs .nut-tabs__titles) {
    padding: 0;
    height: 44px;
    margin-bottom: 4px;
  }

  .amount_box {
    display: flex;
    align-items: center;

    >span {
      margin: 0 6px;
    }
  }

  .content {
    width: 100%;
    height: 100%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
  }

  .main_content {
    flex: 1;
    overflow: hidden;
    display: flex;

    >.games_box {
      width: 276px;
      padding-left: 12px;
      height: 100%;
      overflow: hidden;

      :deep(.nut-tabs) {
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;

        .nut-tabs__content {
          height: calc(100% - 50px);
        }
      }
    }

    .games_box2 {
      padding-left: unset;
    }


    .arrow {
      position: absolute;
      width: 80px;
      height: 44px;
      left: 6px;
      pointer-events: none;
      transition: all ease .2s;
      z-index: 99;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 6px;
      opacity: 1;
    }

    .arrow-down {
      align-items: flex-end;
      bottom: -2px;
      background: linear-gradient(180deg, rgba(19, 18, 50, 0) 0%, rgba(19, 18, 50, 0.91) 35.3%);
    }

    .arrow-up {
      top: -4px;
      background: linear-gradient(0deg, rgba(19, 18, 50, 0) 0%, rgba(19, 18, 50, 0.91) 35.3%);
    }

    .arrow-hidde {
      opacity: 0;
    }
  }

  .tab {
    position: fixed;
    left: 8px;
    background-size: 100% 100%;
    padding: 0 4px 0 4px;
    width: 80px;
    font-size: 12px;
    height: calc(var(--vh, 1vh) * 100 - 112px);
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    margin-bottom: 18px;


    .tab_wrap {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    // div {
    //     position: relative;
    // }

    .tab_level1 {
      position: relative;
    }

    .tab_item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      color: #c6c4f5;
      width: 72px;
      height: 54px;
      font-size: 14px;
      border-radius: 8px;
      background-color: #131232;
      box-shadow: 0.5px 0.5px 1px 0px #2e296b inset;
      margin-bottom: 8px;
      &.tab_all {
        height: 42px;
        border-radius: 8px;
        position: relative;
        top: 7px;
      }

      // &:nth-child(n - 1) {
      //   margin-bottom: 0
      // }

      >img {
        width: 20px;
        height: 20px;
        // height: 100%;
      }
    }

    .show_second_list {
      // right: -28px;
      width: 16px;
      height: 16px;
      background: #131232;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      rotate: 180deg;
      margin-top: -30px;
      margin-left: 65px;
      opacity: 0;
      position: absolute;
      bottom: 10px;
      :deep(iconpark-icon) {
        transform: rotate(0deg);
        transition: all ease .2s;
      }
      &.show {
        opacity: 1;
        :deep(iconpark-icon) {
          transform: rotate(180deg);
        }
      }

      //po // transform: translate(-30px)
      // margin-top: -40px;
      
    }

    .tab_ac {
      color: #fff !important;
      background: linear-gradient(180deg, #5567ff 0%, #9e1eff 100%) !important;
      box-shadow: 0.5px 0.5px 1px 0px #9b9eff inset !important;
    }

    .second_tab {
      margin-top: 8px;
    }

    .second_tab_item {
      height: 42px;
      border-radius: 8px;
      background: #282747;
      color: #c6c4f5;
      font-size: 12px;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 8px;
      display: flex;
      flex-direction: column;
      user-select: none;

      img {
        height: 28px;
        margin-bottom: -4px;
      }
    }
  }

  .query {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;

    :deep(.nut-input--border) {
      border-bottom: none;
    }

    // :deep(.nut-input-left-box){
    //   margin-right: ;
    // }
    &:deep(.nut-input) {
      height: 36px;
      padding: 8px 14px;
      border-radius: 8px;
      background: #1d1c3c;

      .nut-input-box {
        padding-left: 4px;
      }

      input {
        &::placeholder {
          color: #504f6f !important;
        }
      }
    }
  }

  .scroll-view {
    height: 74vh;
    overflow: auto;
  }

  .game_list1 {
    gap: 8px;
    padding-bottom: 50px;
    display: block !important;
  }

  :deep(.nut-tab-pane) {
    height: calc(var(--vh, 1vh) * 100 - 162px);
    overflow-y: auto;
    .lb-pull-refresh {
      height: unset;
    }
    .lb-pull-refresh__track {
      height: unset;
    }
  }

  .games_list-box {
    margin-top: 10px;
  }

  .game_list {
    display: flex;
    flex-wrap: wrap;

    .item_2 {
      margin-bottom: 15px;

      img {
        width: 255px;
        height: 104px;
      }

      .item_bg {
        display: flex;
        background: url(/imgs/category/video.webp) no-repeat;
        background-size: 100% 100%;
        width: 255px;
        height: 104px;
        margin-left: 10px;
        position: relative;
        user-select: none;

        .fav {
          position: absolute;
          right: 10px;
          top: 10px;
        }

        >div {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;

          span {
            color: #b5b4bb;
            font-size: 14px;
            font-weight: 600;
            user-select: none;
          }
        }

        .logo_h5 {
          width: 92px;
          height: 45px;
        }

        .game_hot {
          // width: 38px;
          height: 30px;
          position: absolute;
          padding: 0 8px 0 8px;
          left: 1px;
          top: 1px;
          z-index: 9;
          // background: url(/imgs/home/is_hot.png) no-repeat;
          background-size: 100% 100%;
          display: flex;
          align-items: center;
          transform-origin: 0 0;

          .game_hot_icon {
            width: 8px;
            height: 10px;
            margin: 0 2px;
          }

          span {
            color: #ffffff;
            font-size: 8px;
            font-family: PingFang SC;
          }
        }
      }
    }

    .item {
      width: 82px;
      height: 108px;
      margin-right: 8px;
      margin-bottom: 8px;
      border-radius: 8px;
      background: #1a1944;
      position: relative;
    }

    .item1 {
      width: 112px;
      height: 148px;
    }

    :nth-child(3n) {
      margin-right: 0;
    }

    .cover1 {
      width: 112px;
      height: 112px;
    }

    .title {
      width: 90%;
      margin: 0 auto;
      text-align: center;
      font-size: 14px;
      color: #fff;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .title1 {
      height: 36px;
      line-height: 36px;
    }
  }
}

.games_box_other {
  flex: 1;

  .games_box_other_item {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;

    img {
      height: 94px;
      width: 100%;
    }
  }
}

.item_name {
  text-align: center;
  line-height: 14px;
  user-select: none;
}